|
901219 - swFOCE : Installing FOCE Software on a Linux Server
This page last changed on Apr 28, 2014 by bobh.
BackgroundQuickFOCE consists of an electronics can containing power conversion hardware and a Digi Portserver TS4 MEI, a 4 port Ethernet to serial converter. The 4 serial ports service:
These instruments are sampled and controlled by a Linux workstation on shore. In the case of SW-FOCE at Hopkins, this server is kelpbed.swfoce.mbari.org. The workstation for the MBARI test tank setup is fangtooth.shore.mbari.org. LinuxThe preferred, tested Linux setup is to install CentOS 6.5. Once CentOS is installed, you need to install the folllowing required packages as root (some of these are required for the Digi driver, some for the xFOCE software):
Digi DriverThe correct version of the Digi driver for CentOS (as of this writing) is dgrp-1.9. The gzipped tar file is in the ProjectLibrary under "901219 SW-FOCE\Software\QuickFOCE\Digi\40002086_S.tgz"
You can now run the Digi gui, dgrp_gui. Mapping the correct Portserver should be obvious. We recommend that you use static IP addressing for the Portserver. At SW-FOCE, the reserved address is swfoce-serial.swfoce.mbari.org. xFOCE SoftwareTo build the xFOCE software, you'll need to find and download the following:
Support SoftwareFor each of the support packages, libmodbus, zeromq, and czmq, you need to do the following:
xFOCE software
You do not need to 'make install', though you may do so if you wish. But it's easiest just to run it from the build directory. To do so, you need to:
An example config file is included in $XF_HOME/conf/simple.conf. So you can simply rungwrun -f simple.conf
|
| Document generated by Confluence on Feb 03, 2026 15:57 |